package cn.edu.tju.se.records.service;

import java.util.List;

import cn.edu.tju.se.records.domain.Photo;

public interface PhotoService {
	public Photo get(int id);

	public void update(Photo photo);

	public void add(Photo photo);

	public void remove(int id);

	public List<Photo> getAll();

	public List<Photo> findPhotoByPatientId(String PatientId);

	public List<Photo> findPhotoByPhotoDate(String Patientid,String photodate);

	public void removePhotosbyPatientId(int PatientId);

	public void removePhotoFilesbyPatientId(int PatientId);

	public void removePhotosbyPhotoDate(String Patientid,String photodate);

	public void removePhotoFilesbyPhotoDate(String Patientid,String photodate);

	public String getImgPath();

}
